var hover1s=document.querySelectorAll(".one-tab-con h3")
var hover=document.querySelector(".one-tab-con")
var hovers=document.querySelectorAll(".game-rank-con .rank-poker")
hover.addEventListener("click",function (event){
  if(event.target.localName=="h3"){
    for(var i=0;i<hover1s.length;i++){
      hovers[i].style.display="none"
    }
    var a=event.target.dataset.i;
    hovers[a].style.display="flex"
  }
})
